package com.hh.bss.common.tree;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class CompanyDeptTitleTreeNode extends TreeNode {
	   
    
	private String companyId;
    private String deptId;   
    private String titleId;
    private String deptName;
    private String parentIds;
    private String iconCls="icon-title";
    private Map attributes=new HashMap();
    
	public Map getAttributes() {
		attributes.put("companyNodeType", companyNodeType);
		attributes.put("icon", icon);
		attributes.put("companyId", companyId);
		attributes.put("deptId", deptId);
		attributes.put("titleId", titleId);
		attributes.put("iconCls", iconCls);
		attributes.put("parentIds", parentIds);
		attributes.put("parentId", this.getParentId());
		return attributes;
	}
	public void setAttributes(Map attributes) {
		this.attributes = attributes;
	}
    public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public String getParentIds() {
		return parentIds;
	}
	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	private String icon="/images/title.gif";	
		
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getTitleId() {
		return titleId;
	}
	public void setTitleId(String titleId) {
		this.titleId = titleId;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	private String companyNodeType="TITLE";


	public String getCompanyNodeType() {
		return companyNodeType;
	}
	public void setCompanyNodeType(String companyNodeType) {
		this.companyNodeType = companyNodeType;
	}
}
